<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- visibility：visible ; 元素可视
    visibility：hidden; 元素隐藏 -->
    <style>
        .peppa {
            /* 隐藏对象  占位置*/
            visibility: hidden;
            width: 100px;
            height: 100px;
            background-color: pink;
        }

        .george {
            width: 100px;
            height: 100px;
            background-color: skyblue;
        }
    </style>
</head>

<body>
    <div class="peppa">佩奇</div>
    <div class="george">乔治</div>
</body>

</html>